<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title><?php echo $title.'_'.$config['web_name'];?></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="资料空白">
	<meta name="author" content="资料空白">
	<meta name="version" content="<?php echo VERSION;?>">
    <meta name="description" content="<?php echo $config['web_description'];?>">
    <link rel="stylesheet" href="/res/layui/css/layui.css">
    <link rel="stylesheet" href="/res/css/global.css">
    <script>
    var TOKEN = "<?php echo $csrf_token;?>";
    if (self != top) {
        top.location = self.location;
    }
    </script>
</head>

<body>
    <div class="fly-header layui-bg-black">
        <div class="layui-container">
             <div class=""><a class="fly-logo" href="/"><img src="/res/images/logo.png" alt="layui"></a></div>
            <ul class="layui-nav fly-nav" id="webmenu">
				<li></li>
                <li class="layui-nav-item layui-hide-xs">
                    <a href="/">首页</a>
                </li>
                <li class="layui-nav-item layui-hide-xs">
                    <a href="/demo">演示</a>
                </li>
            </ul>
			
			<ul class="layui-nav fly-nav-user">
				<li class="layui-nav-item layui-hide-lg layui-hide-md layui-hide-sm layadmin-flexible">
					<a href="javascript:;" title="侧边伸缩">
					<i class="layui-icon layui-icon-spread-left" id="main-menu-mobile-switch" style="font-size: 16px;"></i>
					</a>
				</li>
			 </ul>
        </div>
    </div>
	<script type="text/javascript">
	function setClassName() {
		var menuChild = document.getElementById('webmenu').childNodes,
			aName = window.location.pathname,
			aMenu = [];
		for (var i = 0, j = menuChild.length; i < j; i++) {
			if (menuChild[i].nodeType != 3) {
				aMenu.push(menuChild[i]);
			}
		}
		if (aName.indexOf('/demo') > -1) {
			aMenu[2].className += ' layui-this';
		}else{
			aMenu[1].className += ' layui-this';
		}
	}
	setClassName();
	</script>
<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="main-menu" id="main-menu-mobile" style="display: none;z-index: 19891016;width: 300px;">
  <li class="layui-nav-item layui-nav-itemed">
    <a href="javascript:;">主菜单</a>
    <dl class="layui-nav-child">
		<dd><a href="/">首页</a></dd>
		<dd><a href="/demo">演示</a></dd>
    </dl>
  </li>
</ul>
<div class="site-mobile-shade"></div>